class Dog(object):
    def print_self(self):
        print("大家好，我是xxxx,希望以后多指教")


class Xiaotq(object):
    def print_self(self):
        print("hello everybody,我是你的粉丝")


def introduce(temp):
    temp.print_self()


dog1 = Dog()
dog2 = Xiaotq()

introduce(dog1)
introduce(dog2)
